var vue = new Vue({
    el: "#app",
    data: {
        spots: []
    },
    methods: {

    },
    mounted: function () {
        //景点列表
        $.get(
            'http://localhost:8080/scenicSpots/list', {}, function (data) {
                console.log(data);
                vue.spots = data;
            }
        )
    }
});

